//
//  AppDelegate.h
//  fenlegu
//
//  Created by lazy on 3/25/13.
//  Copyright (c) 2013 lazy. All rights reserved.
//

#import <UIKit/UIKit.h>
@class TabBarViewController;

@interface AppDelegate : UIResponder <UIApplicationDelegate>
{

}


@property (readonly, strong, nonatomic) NSManagedObjectContext *managedObjectContext;
@property (readonly, strong, nonatomic) NSManagedObjectModel *managedObjectModel;
@property (readonly, strong, nonatomic) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (retain, nonatomic) IBOutlet TabBarViewController *tabbarView;
@property (retain, nonatomic) IBOutlet UIWindow *window;


- (void)saveContext;
- (NSURL *)applicationDocumentsDirectory;

@end
